﻿@model IEnumerable<AesApplication.Models.Store>

@{
    ViewBag.Title = "Home Page";
}

<h1>List of Stores</h1>
<p>Select a store to see jobs.</p>
<ul>
@foreach (var store in Model)
{
    <li>@Html.ActionLink(store.Name, "Jobs", new { id = store.ID })</li>
}
</ul>

<p>@Html.ActionLink("Edit stores", "Index", "Store")</p>
<p>@Html.ActionLink("Edit jobs", "Index", "Job")</p>